import Loadable from 'react-loadable';
import Loading from './Loading';

export default (str) => Loadable({
  loader: () => import(`@/pages/${str}`),
  loading: Loading,
})
